package main

import (
	"flag"
	"fmt"
	"goods/utils"
	"os"
)

//var configFile = flag.String("f", "etc/goods.yaml", "the config file")

func main() {

	info, err := utils.HttpGet("https://127.0.0.1:9200", "")
	if err != nil {
		fmt.Println(err)
	}
	fmt.Println(info)
	os.Exit(0)
	flag.Parse()
	//
	//var c config.Config
	//conf.MustLoad(*configFile, &c)
	//ctx := svc.NewServiceContext(c)
	//
	//s := zrpc.MustNewServer(c.RpcServerConf, func(grpcServer *grpc.Server) {
	//	goods.RegisterGoodsServer(grpcServer, server.NewGoodsServer(ctx))
	//
	//	reflection.Register(grpcServer)
	//})
	//defer s.Stop()
	//
	//fmt.Printf("Starting rpc server at %s...\n", c.ListenOn)
	//s.Start()
}
